//
//  AboutJeemaaViewController.m
//  UEPersonage
//
//  Created by mac on 2017/9/25.
//  Copyright © 2017年 mac. All rights reserved.
//

#import "AboutJeemaaViewController.h"

@interface AboutJeemaaViewController ()

@end

@implementation AboutJeemaaViewController

- (void)viewWillAppear:(BOOL)animated{
    

}

- (void)viewWillDisappear:(BOOL)animated{
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    self.title = @"关于译马网";
    
    UIImageView *logo = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 80*Radio, 80*Radio)];
    logo.backgroundColor = [UIColor whiteColor];
    logo.layer.cornerRadius = 10*Radio;
    logo.layer.masksToBounds = YES;
    logo.image = [UIImage imageNamed:@"UE_logo"];
    logo.center = CGPointMake(self.view.center.x, 200*Radio);
    [self.view addSubview:logo];
    
    UILabel *jeemaaLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 100, 20)];
    jeemaaLabel.center = CGPointMake(self.view.center.x, logo.center.y+logo.frame.size.height);
    jeemaaLabel.backgroundColor = [UIColor clearColor];
    jeemaaLabel.text = @"译马网";
    jeemaaLabel.textAlignment = NSTextAlignmentCenter;
    jeemaaLabel.textColor = RGB(51, 51, 51, 1);
    jeemaaLabel.font = [UIFont systemFontOfSize:FLEXIBLE(17)];
    [self.view addSubview:jeemaaLabel];
    
    UILabel *version = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 100, 20)];
    version.center = CGPointMake(self.view.center.x, jeemaaLabel.center.y+jeemaaLabel.frame.size.height+20);
    version.backgroundColor = [UIColor clearColor];
    NSString *versionStr = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];//获取项目版本号

    version.text = [NSString stringWithFormat:@"版本：%@",versionStr];
    version.textAlignment = NSTextAlignmentCenter;
    version.textColor = RGB(51, 51, 51, 1);
    version.font = [UIFont systemFontOfSize:FLEXIBLE(15)];
    [self.view addSubview:version];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}


@end
